package com.baiytfp.hf.HFDataExchange.common.model.vo;

import com.baiytfp.hf.baiytfp.framework.model.base.Table;
import com.baiytfp.hf.HFDataExchange.common.model.base.TableName;
import com.baiytfp.hf.HFDataExchange.common.model.table.Tree;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.List;


public class TreeVO extends Tree {
	private List<TreeVO> childList;// 子节点集合

	public List<TreeVO> getChildList() {
		return childList;
	}

	public void setChildList(List<TreeVO> childList) {
		this.childList = childList;
	}

	public String toString() {
		String str = getId() + ".." + getTree_code() + ".." + getParent_tree_code() + ".." + getNode_name() + "-----";

		if (childList != null && childList.size() > 0) {
			for (TreeVO tree : childList) {
				str += "------" + tree.toString();
			}
		}

		return str;
	}

}

